<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!--#include file="conn.asp"-->
<%
if(Session("passed")!=null&&Session("passed"))
{
	var sqlstr="select user_name,user_id from userinfo where user_id not in (select stu_id from stuinfo)";
	var rs=Server.CreateObject("adodb.recordset");
	rs.open(sqlstr,conn,1);
	rs.movefirst();
	Response.Write("<?xml version='1.0' encoding='utf-8'?>");
	Response.Write("<recordes>");
	while(!rs.EOF){
		Response.Write("<recorde>");
		Response.Write("<stuname>"+rs("user_name")+"</stuname>");
		Response.Write("</recorde>");
		rs.movenext();
	}
	Response.Write("</recordes>");

	rs.close();
	conn.close();
	delete rs;
	delete conn;
}
else
{
	Response.Write("<?xml version='1.0' encoding='utf-8'?>");
	Response.Write("<!--you need login the system first-->");
	Response.Write("<recordes/>");
}
%>